
package com.powerunion.datacollection.report.excelreport.base.element;



/**
 * 一个常量类。该类代表该变量是一个常量值
 * @author juny
 */
public class ConstantVariable extends Variable{
    public ConstantVariable(String varTemplet){
        value = varTemplet;
    }
    
    public Object getValue(){
        return value;
    }
    
    public byte getType(){
        return Variable.VARIABLE_TYPE_CONSTANT;
    }
    
    
    String value = null;

    public String getString() throws Exception {
        return value;
    }
}
